- 
                Notifications
    You must be signed in to change notification settings 
- Fork 76
[WIP] Changes required for embedded GPU LLVM IR Flang runtime #328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: amd-staging
Are you sure you want to change the base?
[WIP] Changes required for embedded GPU LLVM IR Flang runtime #328
Conversation
| !PSDB | 
| Looks like there are smoke-fort failures in the PSDB related to stop/abort emissary support [2025-10-21T17:55:32.127Z] flang-gpu-abort: Make Failed | 
[WIP] Do not merge.
Motivation
Reduce linking time by embedding GPU LLVM IR code for Flang runtime.
Technical Details
Modified Flang runtime (added ifdefs to eliminate host-specific code from GPU compilation).
Added switch
-nogpuflangrtto disable linking GPU Flang RT by defaultTest Plan
Checked smoke-fort-dev tests with new GPU Flang RT and the old flang_rt.hostdevice.
Test Result
I was able to compile and successfully run tests without flang_rt.hostdevice flag.